StoreEngine\Addons\Stripe\PaymentTokens\StripePaymentTokens B

Total Complexity 98
Dependencies 14
Dependents 2
Total lines 685
Lines of code 356
Logical lines of code 237
Comment lines 232
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
storeengine_get_customer_upe_payment_tokens()
B
40 18 58
add_token_to_user()
A
40 12 63
storeengine_get_customer_payment_tokens_legacy()
A
43 12 49
get_token_classname()
A
54 8 24
update_token_from_method_details()
S
52 7 24
get_token_from_request()
S
60 7 12
get_account_saved_payment_methods_list_item()
S
52 6 25
customer_has_saved_methods()
S
59 4 15
get_original_payment_method_type()
S
64 4 11
get_token_label_overrides_for_checkout()
S
58 3 16
get_duplicate_token()
S
60 3 13
is_valid_payment_method_id()
S
69 3 6
storeengine_payment_token_deleted()
S
69 2 7
storeengine_payment_token_set_default()
S
67 2 8
normalize_sepa_label()
S
71 2 6
get_payment_method_type_from_token()
S
75 2 4
is_valid_payment_method_type_for_gateway()
S
75 1 4
storeengine_get_customer_payment_tokens()
S
82 1 3
__construct()
S
65 1 8